package gui;

import java.util.*;
/**
 *
 * @author 小智
 */
public class AssessComparator implements Comparator<Play>{
    @Override
	public int compare(Play o1, Play o2) {
		int n;
		n=o1.getAssess().compareTo(o2.getAssess());
		if(n!=0) return n;
		else return 0;
	}
}
